package com.ruoyi.asset.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.asset.domain.AssetStandardConfiguration;
import com.ruoyi.asset.domain.AssetTransactionRecord;
import org.apache.ibatis.annotations.Mapper;

/**
 * 领用归还记录Mapper接口
 * 
 * @author ruoyi
 * @date 2023-04-06
 */
@Mapper
public interface AssetTransactionRecordMapper extends BaseMapper<AssetTransactionRecord>
{
    /**
     * 查询领用归还记录
     * 
     * @param transactionId 领用归还记录主键
     * @return 领用归还记录
     */
    public AssetTransactionRecord selectAssetTransactionRecordByTransactionId(String transactionId);

    /**
     * 查询领用归还记录列表
     * 
     * @param assetTransactionRecord 领用归还记录
     * @return 领用归还记录集合
     */
    public List<AssetTransactionRecord> selectAssetTransactionRecordList(AssetTransactionRecord assetTransactionRecord);

    /**
     * 新增领用归还记录
     * 
     * @param assetTransactionRecord 领用归还记录
     * @return 结果
     */
    public int insertAssetTransactionRecord(AssetTransactionRecord assetTransactionRecord);

    /**
     * 修改领用归还记录
     * 
     * @param assetTransactionRecord 领用归还记录
     * @return 结果
     */
    public int updateAssetTransactionRecord(AssetTransactionRecord assetTransactionRecord);

    /**
     * 删除领用归还记录
     * 
     * @param transactionId 领用归还记录主键
     * @return 结果
     */
    public int deleteAssetTransactionRecordByTransactionId(String transactionId);

    /**
     * 批量删除领用归还记录
     * 
     * @param transactionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAssetTransactionRecordByTransactionIds(String[] transactionIds);
}
